package sch.frog.behavioral.state;

public class StateDemo {

    public static void main(String[] args){
        Context context = new Context();
        context.setState(new StateA());
        for(int i = 0; i < 10; i++){
            context.run();
        }
    }

}
